// components/phonePup/phonePup.js
Component({
  data: {

  },
  properties: {
    phoneList:Array
  },
  attached(){
    console.log('phoneList',this.data.phoneList)
  },
  created() {
  },
  methods: {
    //拨打电话
    freeTell(e) {
      var phone = e.currentTarget.dataset.phone;
      wx.makePhoneCall({
        phoneNumber: phone
      });
    },
    handlePhoneShow(){
      this.triggerEvent('handlePhoneShow')
    },
  }
})